package com.huawei.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * @ClassName Spfenlei
 * @Description TODO
 * @Author 快乐的大胖
 * @Date 2021/12/6 16:33
 */
public class Spfenlei {
    @JSONField(name = "value")
    private  int id;
    @JSONField(name = "label")
    private  String name;
    private   int father;
    private   int sun;


    @JSONField(name = "children")
     private List<Spfenlei> a;



    public List<Spfenlei> getA() {
        return a;
    }

    public void setA(List<Spfenlei> a) {
        this.a = a;
    }

    public Spfenlei() {
    }

    public Spfenlei(int id, String name, int father, int sun) {
        this.id = id;
        this.name = name;
        this.father = father;
        this.sun = sun;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getFather() {
        return father;
    }

    public void setFather(int father) {
        this.father = father;
    }

    public int getSun() {
        return sun;
    }

    public void setSun(int sun) {
        this.sun = sun;
    }





}
